package com.ruoyi.common.core.domain.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 服务技能表
 * </p>
 *
 * @author wahaha
 * @since 2024-10-17
 */
@TableName("serve_skill")
@ApiModel(value = "ServeSkill对象", description = "服务技能表")
public class ServeSkill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("服务人员/机构id")
    private Long serveProviderId;

    @ApiModelProperty("类型，2：服务人员，3：服务机构")
    private Integer serveProviderType;

    @ApiModelProperty("服务类型id")
    private Long serveTypeId;

    @ApiModelProperty("服务类型名称")
    private String serveTypeName;

    @ApiModelProperty("服务项id")
    private Long serveItemId;

    @ApiModelProperty("服务项名称")
    private String serveItemName;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否已删除，0：未删除，1：已删除")
    private Integer isDelete;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getServeProviderId() {
        return serveProviderId;
    }

    public void setServeProviderId(Long serveProviderId) {
        this.serveProviderId = serveProviderId;
    }
    public Integer getServeProviderType() {
        return serveProviderType;
    }

    public void setServeProviderType(Integer serveProviderType) {
        this.serveProviderType = serveProviderType;
    }
    public Long getServeTypeId() {
        return serveTypeId;
    }

    public void setServeTypeId(Long serveTypeId) {
        this.serveTypeId = serveTypeId;
    }
    public String getServeTypeName() {
        return serveTypeName;
    }

    public void setServeTypeName(String serveTypeName) {
        this.serveTypeName = serveTypeName;
    }
    public Long getServeItemId() {
        return serveItemId;
    }

    public void setServeItemId(Long serveItemId) {
        this.serveItemId = serveItemId;
    }
    public String getServeItemName() {
        return serveItemName;
    }

    public void setServeItemName(String serveItemName) {
        this.serveItemName = serveItemName;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "ServeSkill{" +
            "id=" + id +
            ", serveProviderId=" + serveProviderId +
            ", serveProviderType=" + serveProviderType +
            ", serveTypeId=" + serveTypeId +
            ", serveTypeName=" + serveTypeName +
            ", serveItemId=" + serveItemId +
            ", serveItemName=" + serveItemName +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            ", isDelete=" + isDelete +
        "}";
    }
}
